package com.team7.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.team7.entity.Course;
import com.team7.vo.*;

/**
 * @program: team7-object
 * @description:
 * @author: 田宏洋
 * @create: 2021-10-19 19:56
 **/
public interface CourseListService extends IService<Course> {
    CommonResult findCourseListByPage(Integer page, Integer limit, CourseVo courseVo, String id);

    CommonResult updateCourse(UpdateCoursesVo updateCoursesVo);

    CommonResult changeStatus(CourseVo courseVo);

    CommonResult updateCourseSubject(CourseUpVo courseUpVo);

    Integer updateIsAdd(String id);

    CommonResult getCoursByTeacherPhone(Integer page, Integer limit, String mobile, String checkStatus);

    CommonResult findTeacherByTeacherId(String teacherId);

    CommonResult findCourseByTeacherId(Integer page, Integer limit, TeacherCourseVo teacherCourseVo);

    CommonResult findFontCourseByPage(Integer page, Integer limit, FontCourseVo courseVo);
}
